const state = ({
  isPc:true,
  showImg:true,
  // active:'index'   //当前页面的激活项
});

/*const getters = {
    include: (state) => (val) => {
      return state.list.indexOf(val) > -1;
    }
  }
;*/

const mutations = {
  SET_isPc(state, value) {
    state.isPc = value;
  },
  SET_showImg(state, value) {
    state.showImg = value;
  },
  // SET_active(state, value) {
  //   state.active = value;
  // }
};

/*const actions = {
  async setIsPc({state, commit}, val) {
    commit('SET_isPc', val);
  }
};*/

export default {
  namespaced: true,
  state,
  // getters,
  // actions,
  mutations
};
